package org.jeecg.modules.yw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecgframework.poi.excel.annotation.Excel;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("attendance_summary_view")
public class AttendanceRecord {
    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String id; // 主键

    @ApiModelProperty(value = "姓名")
    @Excel(name = "姓名")
    private String name; // 姓名

    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号")
    private String phoneNumber; // 手机号

    @ApiModelProperty(value = "出勤天数")
    @Excel(name = "出勤天数")
    private Integer attendanceDays; // 出勤天数

    @ApiModelProperty(value = "病假天数")
    //@Excel(name = "病假天数")
    private Integer sickLeaveDays; // 病假天数

    @ApiModelProperty(value = "迟到次数")
    //@Excel(name = "迟到次数")
    private Integer lateCount; // 迟到次数

    @ApiModelProperty(value = "事假天数")
    @Excel(name = "事假天数")
    private Integer personalLeaveDays; // 事假天数

    @ApiModelProperty(value = "年假天数")
    //@Excel(name = "年假天数")
    private Integer annualLeaveDays; // 年假天数

    @Excel(name = "产假天数")
    //@ApiModelProperty(value = "产假天数")
    private Integer maternityLeaveDays; // 产假天数

    @Excel(name = "婚丧假天数")
    //@ApiModelProperty(value = "婚丧假天数")
    private Integer bereavementLeaveDays; // 婚丧假天数
}
